package com.letoken.platform.repo.mall.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 店铺审核表
 * </p>
 *
 * @author author
 * @since 2023-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("app_mall_audit")
@ApiModel(value="AppMallAudit对象", description="店铺审核表")
public class AppMallAudit implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "店铺ID")
    @TableField("mall_id")
    private Integer mallId;

    @ApiModelProperty(value = "用户ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "失败原因")
    private String reason;

    @ApiModelProperty(value = "源数据")
    @TableField("source_data")
    private String sourceData;

    @TableField("audit_state")
    @ApiModelProperty(value = "审核状态0=审核中 1=审核成功 2=审核失败")
    private Integer auditState;

    @ApiModelProperty(value = "2店铺背景图审核 3图片审核")
    private Integer type;

    @TableField("problem_list")
    @ApiModelProperty(value = "问题字段")
    private String problemList;


    @TableField("operator")
    @ApiModelProperty(value = "操作人")
    private Integer operator;


    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
